xol: Fix variable initialization.
authoroliskoli <oliskoli>
Thu, 25 Oct 2007 21:03:10 +0000 (21:03 +0000)
committeroliskoli <oliskoli>
Thu, 25 Oct 2007 21:03:10 +0000 (21:03 +0000)
xol.c

diff --git a/xol.c b/xol.c
index 1251dc210d3be1fc5c7e5a4b7471bb17be5ba7b5..f0349a725e975d7b96b0832e0116a85a675f7390 100644 (file)
--- a/xol.c
+++ b/xol.c
@@ -139,7 +139,7 @@ xol_shape_end(const char *args, const char **unused)
 static void 
 xol_waypt(const char *args, const char **attrv) {
        const char **avp = &attrv[0];
-       int x=0, y=y;
+       int x=0, y=0;
 
        while (*avp) {
                if (strcmp(avp[0], "y") == 0)